﻿#include "widget.h"
#include "ui_widget.h"
#include "imageshow.h"

Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->download_Label->setOpenExternalLinks(true);
    ui->baidu_label->setOpenExternalLinks(true);

    ui->pushButton->setStyleSheet("border-image: url(://ic_timeline2-big.png)");
}

Widget::~Widget()
{
    delete ui;
}

void Widget::on_pushButton_clicked()
{
    ImageShow* pImage = new ImageShow(this);
    pImage->exec();
}
